/*!
 * employee information V1
 * Author: shishujuan
 * Date: 2013.4.11
 */

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: tahoma,arial,宋体;
    font-size: 12px;
    color: #333333;
    line-height: 20px;
    position: relative;
    <!--background-color: #E5E9F2;-->
}

#main {
    width: 100%;
    margin: 0 auto;
}

.navbar {
    width: 100%;
    position: fixed;
    top: 0;
    background-color: #f5f5f5;
	border-bottom:1px solid rgba(0,0,0,0.1);
    color: #000;  
    overflow: visible;
    min-height: 40px;
    min-width: 950px;
    height: 40px;
    z-index:1000;
}

.navbar .welcome {
    float: left;
    padding-left: 20%;
    padding-top: 8px;
}

.navbar .toplist #topleft {
    float: left;
    padding-left: 30px;
    padding-top: 8px;
    z-index: 900;
}

.navbar .toplist #topleft span {
    padding-right: 10px;
}

.navbar .toplist #topright {
    float: left;
    padding-left: 700px;
    padding-top: 8px;
    z-index: 200;
}

.navbar .toplist #topright #index {
    float: left;
    padding-right: 20px;
}

#business {
    float: left;
    padding-right: 10px;
}

#business #bs-trigger {
    font-size: 12px;
}

#bs-box ul li{
    float:left;  
    margin-right: 10px;
    text-align:center;  
    list-style:none;  
    display: block;
}

.searchbox {
    padding-top: 20px;
    padding-left: 20%;
    padding-right: 20%;
    min-width: 950px;
    margin-top: 30px;
    margin-bottom: 10px;
    height: 60px;
    z-index: 1300;
}

.searchbox .logo {
    float: left;
}

.searchbox #searchbar {
    float: right;
    line-height: 20px;
    padding-top: 25px;
}

.content {
    clear: both;
    position: relative;
    margin: 40px auto;
    padding-left: 20%;
    padding-right: 20%;
    height: auto;
    min-height: 800px;
}

.well {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

.form-search input {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
}

.input-medium {
    width: 300px;
    height: 25px;
    vertical-align: middle;
    margin-top: 8px;
}

#addr p .span2 {
    margin-top: 8px;
}

input.search-query {
    padding-right: 14px;
    padding-right: 4px;
    padding-left: 14px;
    padding-left: 4px;
    margin-bottom: 0;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}

input:hover {
    border-color: rgba(82,168,236,.8);
    -webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
    -moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
    box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
    outline: 0;
}

a:link { text-decoration: none;color:#0f3e69;}
a:active { text-decoration:blink}
a:visited { text-decoration: none;color:green}

.blank {
    margin-left: 80px;
    margin-right: 0;
}

.form-header {
    border-bottom: solid 1px #e9e9e9;
    margin-bottom: 18px;
    height: 38px;
    padding-right: 10px;
}

.form-header p {
    font-size: 20px;
    margin-top: 0px;
}

.table {
    max-width: 100%;
    background-color: transparent;
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    margin-bottom: 20px;
    border-top: 3px solid #A7CBFF;
}

.table caption {
    font-size: 20px;
    font-weight: bold;
    color: black;
}

.table th, 
.table td { 
    padding: 8px; 
    line-height: 20px;
    text-align: left;
    vertical-align: top; 
}

.table th { 
    font-weight: bold;
    font-size: 14px;
    border-top: 3px solid #A7CBFF;
    background-color: #ecf4fd;
}

.table thead th {
    vertical-align: bottom;
}

.table tbody tr .price {
    color: red;
}


.table-hover tbody tr:hover > td,
.table-hover tbody tr:hover > th {
    background-color: #A0CBE7;
}


.table tbody tr .merge {
    background-color: #FFFFFF;
    vertical-align: middle;
    text-align: left;
    font-size: 16px;
    font-weight: bold;
}

.table-hover tbody tr:hover .merge {
    background-color: #FFFFFF;
}

.page {
    float: right;
}

.page .horizon {
    margin-right: 50%;
}

.help-block,
.help-inline {
    color: #595959;
}

.common,
.help-block {
    display: block;
    margin-top: 10px;
}

.btn-right{
    margin-left: 340px;
}

.btn-left{
    margin-left: 2px;
}

.btn-large-left{
    margin-left: 20px;
}

.span3 {
    width: 220px;
    height: 25px; 
}

.span2 {
    width: 140px;
    height: 25px; 
}

.span1 {
    width: 60px;
    height: 25px;
}

.span-left {
    margin-left: 40px;
}

.recommend{
    padding-top: 2px;
}

.recommend ul li {
    float: left;
    list-style: none;
    font-size: 14px;
    font-weight: bold;
    color: #0f3e69;
    padding-right: 30px
}

.recommend ul li a:hover, #footer ul li a:hover {
    color: #2C7CB1; 
}

.form-horizontal input,
.form-horizontal textarea,
.form-horizontal select,
.form-horizontal .help-inline,
.form-horizontal .uneditable-input,
.form-horizontal .input-prepend,
.form-horizontal .input-append {
    display: inline-block;
    *display: inline;
    margin-bottom: 0;
    vertical-align: middle;
    *zoom: 1;
}

.form-horizontal input {
    height: 25px;
    font-size: 14px;
    width: 200px;
}

.control-group {
    margin-bottom: 10px;
    margin-left: 40px;
}

legend + .control-group {
    margin-top: 20px;
    -webkit-margin-top-collapse: separate;
}


/* !# Form */
.form-horizontal .control-group {
    margin-bottom: 20px;
    *zoom: 1;
}

.form-horizontal .control-group:before,
.form-horizontal .control-group:after {
    display: table;
    line-height: 0;
    content: "";
}

.form-horizontal .control-group:after {
    clear: both;
}

.form-horizontal .control-label {
    float: left;
    width: 160px;
    padding-top: 5px;
    text-align: right; 
    text-font: 16px;
}

.form-horizontal .controls {
    *display: inline-block;
    *padding-left: 20px;
    margin-left: 180px;
    *margin-left: 0;
}

.form-horizontal {
    margin: 0 auto;
    width: 600px;
}

.form-pos-up {
    margin-top: 40px;
}

/* !# Footer */

#footer {
    position: fixed;
    bottom: 0px;
	height: 40px;
    width: 100%;
    min-width: 950px;
	background: #f5f5f5;
	border-top:1px solid rgba(0,0,0,0.1);
	padding: 8px auto;
}

#footer .middle {
	position: relative; 
    clear: both;
}

/* Footer navigation */

#footer-nav {
	float: left;
	margin: 8px auto 0 30%;
}

#footer-nav li {
	display: inline;
	list-style: none;
	line-height: 20px;
}

#footer-nav a {
	padding: 6px 8px 5px;
}

#footer ul li {
    padding-right: 20px;
}

#list-filter, #page {
    margin-top: 40px;
    height: 15px;
    border: 1px solid #e3e3e3;
    padding-left: 10px;
    padding-bottom: 40px;
	background: #f5f5f5;
}

#page {
    margin-top: 20px;
    padding-left: 0px;
    height: auto;
}

#list-filter .fhead,
#list-filter .item{
    padding-top: 15px;
    font-size:12px;
    float: left;
}

#list-filter .item{
    margin-right: 20px;
}

#list-filter .item input, #list-filter .item select {
    margin-top: -3px;
}

#list-filter .searchbar2{
    margin-left: 15px;
    padding-top: 12px;
}

#list-filter .fhead{
    margin-right: 25px;
    font-size: 14px;
}

.span2 {
    height: 30px;
}

.clearfix {
    clear: both;
}

#list-items {
    clear: both;
    margin-top: 10px;
}

.list-item {
    position: relative;
    display: inline-block;
    width: 232px;
    height: auto;
    margin: 15px 7px 10px 18px;
    vertical-align: top;
}

.item-pic {
    position: relative;
    border: 1px solid #f2f2f2;
    height: 220px;
    overflow: hidden;
    padding: 5px;
    width: 220px;
}

.item-attr {
    border-color: #FFF;
    border-left-width: 1px;
    border-left-style: solid;
    border-right-width: 1px;
    border-right-style: solid;
    overflow: hidden;
    width: 220px;
    padding-left: 20px;
    padding-top: 5px;
}

.list-item .item-main .item-attr li {
    float: left;
    height: 20px;
    margin-right: 15px;
    overflow: hidden;
}

#list-items .list-item .item-main .price {
    margin-left: 80px; 
    font-size: 16px;
    font-weight: bold;
    font-color: red;
}

.hidden {
    display: none;
}

.show {
    display: inline;
}

#detail {
    margin: 100px auto 10px;
    width: 900px;
    height: 520px;
    position: relative;
    background: #F9F9F9;
    border: 1px solid #A7CBFF;
}

#itempic {
    float: left;
    width: 420px;
    height: 460px;
}

#attrs {
    float: left;
    width: 440px;
    height: 460px;
}

#attrs .attr {
    padding-left: 100px;
    padding-top: 15px;
    padding-bottom: 5px;
}

#attrs .buy {
    padding-left: 200px;
    font-size: 14px;
}

#detail #name p{
    height: 30px;
    font-size: 24px;
    font-weight: bold;
    color: #0f3e69;
    padding-top: 10px;
    text-align: center;
    white-space:nowrap;
    overflow: hidden;
    text-overflow:ellipsis;
}



#attrs .attr p {
    font-size: 14px;
}

#attrs .attr #price {
    font-size: 24px;
    font-weight: bold;
    color: red;
}

#attrs .attr .desc {
    width: 300px;
    height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
}


#addr {
    clear: both;
    width: 100%; 
}

#addr p span{
    font-size: 14px;
}

#addr p em {
    color: #F60;
}

#orderlist {
    margin-top:30px;
}


#pay .price {
    color: red;
    font-weight: bold;
}

#orderlist p, #addr p {
    font-size: 14px;
    font-weight: bold;
}

#pay{
    border: 1px solid #ccc;
    background-color: #ecf4fd;
    height: 36px;
    line-height: 33px;
    text-align: right;
    width: 100%;
    z-index: 9997;
    margin-top: 20px;
    height: 140px;
    width: 500px;
    float: right;
}

#btn-div {
    clear: both;
    margin-top: 150px;
}

#pay .total-price, #pay .addr, #pay .receiver {
    margin-right: 10px;
    margin-top: 5px;
}

em {
    font-weight: bold;
}

#pay .total-price .total {
    color: #F60;
    font: 24px tahoma;
    margin-right: 3px;
    text-shadow: 0 1px 1px #CCC;
    vertical-align: top;
}

.btn-pay {
    float: right;
    height: 40px;
    width: 120px;
    font-size: 16px;
    font-weight: bold;
}

#address {
    width: 400px;
}

#menu-tree {
    clear: both;
    float: left;
    width: 140px;
    height: 800px;
	background: #f5f5f5;
}

#menu-tree .title {
    margin-top: 20px;
    font-size: 14px;
    font-weight: bold;
    color: #F60;
}

.menu-item {
    margin-top: 20px;
}

dd:hover {
    width: 60px;
    background-color: #E5E5E5;
    border: 1px solid #E5E5E5;
}

dl {
    display: block;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
}

#menu-tree dt {
    margin: 0 0 0 35px;
}

dd {
    display: block;
    font-size: 14px;
    -webkit-margin-start: 30px;
    -webkit-margin-end: 30px;
}


#diffitems {
    float: right;
    width: 1000px;
    height: 800px;
}


#account {
    font-size: 14px;
}

#account p {
    margin-top: 10px;
}

#account .money {
    font-size: 18px;
    font-weight: bold;
    vertical-align: middle;
    color: #F60;
}

#allitems, #sellitems, #boughtitems {
    margin-top: 20px;
}



#boughtitems table caption, #sellitems table caption {
    font-size: 14px;
    font-weight: bold;
    color: #0f3e69;
    text-align: left;
    padding-top: 10px;
}

.bought-table .sep-row {
    height: 7px;
}

.order-hd {
    background: #ecf4fd;
    line-height: 29px;
}

.bought-table .order-hd .order-num {
    display: inline-block;
}

.bought-table .order-hd td span {
    margin-right: 10px;
}

.bought-table .bought-item td{
    border: 1px solid #A7CBFF;
}


#additems {
    margin-top: 40px;
    float: left;
    margin-left: 0;
}


#additems-form legend {
    font-size: 14px;
    font-weight: bold;
}

#img-div {
    float:right;
    margin-right: 80px;
    margin-top: 80px;
}

#menu-tree ul .nav-header {
    font-size: 14px; 
    font-weight: bold;
    color: #f60;
    margin-bottom: 10px;
}

#additems .input-small {
    width: 100px;
}

.pic img{
    height: 160px;
    width: 180px;
}
